#pragma once
#include <iostream>
class AmericanSocket {
public:
	virtual ~AmericanSocket() = default;
	virtual std::string AmericanInput()const {
		return "Input American 300v";
	}
};


class Adapter :public AmericanSocket {
private:
	ChineseSocket* socket_C;
public:
	Adapter(ChineseSocket* socket):socket_C(socket){}
	std::string AmericanInput()const override {
		return socket_C->ChineseInput();
	}
};